mod_rewrite + mod_status

mod_rewrite + mod_status

am 17.11.2009 13:43:43 von ricardo figueiredo

hi,

I have a problem.
I'm using mod_rewrite and mod_status.

mod_status is configured this way.

SetHandler server-status
Order deny,allow
Deny from all
Allow from .your_domain.com


When I acess http://localhost/server-status I don't see the page because
mod_rewrite don't allow.

mod_rewrite is configured this way:

RewriteEngine On
RewriteMap prgmap prg:/usr/local/apache/program

Rewrite ^(.*) balancer:/${prgmap:$1} [P]


How do I do mod_rewrite doesn't analyze URI like as /server-status ???

Ricardo
--
View this message in context: http://old.nabble.com/mod_rewrite-%2B-mod_status-tp26389278p 26389278.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: mod_rewrite + mod_status

am 17.11.2009 13:55:08 von Eric Covener

On Tue, Nov 17, 2009 at 7:43 AM, ricardo13 wrote=
:
>
> hi,
>
> I have a problem.
> I'm using mod_rewrite and mod_status.
>
> mod_status is configured this way.
>
> =A0 =A0SetHandler server-status
> =A0 =A0Order deny,allow
> =A0 =A0Deny from all
> =A0 =A0Allow from .your_domain.com
>

>
> When I acess http://localhost/server-status I don't see the page because
> mod_rewrite don't allow.
>
> mod_rewrite is configured this way:
>
> =A0 =A0 RewriteEngine On
> =A0 =A0 RewriteMap prgmap prg:/usr/local/apache/program
>
> =A0 =A0 Rewrite ^(.*) balancer:/${prgmap:$1} [P]
>

>

Precede with RewriteCond %{REQUEST_URI} !=3D/server-status
--=20
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: mod_rewrite + mod_status

am 17.11.2009 15:23:07 von ricardo figueiredo

--000e0cdf75ee75cdba047891dd41
Content-Type: text/plain; charset=ISO-8859-1

Thank you

Ricardo

On Tue, Nov 17, 2009 at 10:55 AM, Eric Covener wrote:

> On Tue, Nov 17, 2009 at 7:43 AM, ricardo13
> wrote:
> >
> > hi,
> >
> > I have a problem.
> > I'm using mod_rewrite and mod_status.
> >
> > mod_status is configured this way.
> >
> > SetHandler server-status
> > Order deny,allow
> > Deny from all
> > Allow from .your_domain.com
> >

> >
> > When I acess http://localhost/server-status I don't see the page because
> > mod_rewrite don't allow.
> >
> > mod_rewrite is configured this way:
> >
> > RewriteEngine On
> > RewriteMap prgmap prg:/usr/local/apache/program
> >
> > Rewrite ^(.*) balancer:/${prgmap:$1} [P]
> >

> >
>
> Precede with RewriteCond %{REQUEST_URI} !=/server-status
> --
> Eric Covener
> covener@gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


--
Muito Obrigado

Ricardo

--000e0cdf75ee75cdba047891dd41
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thank you

Ricardo

On Tue, Nov 17, =
2009 at 10:55 AM, Eric Covener < ner@gmail.com">covener@gmail.com> wrote:
=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin=
: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, Nov 17, 2009 at 7:43 AM, ricardo13 < "mailto:ricardoogrande@gmail.com">ricardoogrande@gmail.com> wrote: r>
>

> hi,

>

> I have a problem.

> I'm using mod_rewrite and mod_status.

>

> mod_status is configured this way.

> <Location /server-status>

> =A0 =A0SetHandler server-status

> =A0 =A0Order deny,allow

> =A0 =A0Deny from all

> =A0 =A0Allow from . ">your_domain.com

> </Location>

>

> When I acess nk">http://localhost/server-status I don't see the page because

> mod_rewrite don't allow.

>

> mod_rewrite is configured this way:

> <IfModule rewrite_module>

> =A0 =A0 RewriteEngine On

> =A0 =A0 RewriteMap prgmap prg:/usr/local/apache/program

>

> =A0 =A0 Rewrite ^(.*) balancer:/${prgmap:$1} [P]

> </IfModule>

>



Precede with RewriteCond %{REQUEST_URI} !=3D/server-status

--

Eric Covener





------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org






--
Muito Obrig=
ado

Ricardo


--000e0cdf75ee75cdba047891dd41--